package com.hup.utils.commons.interfaces;

/**
 * @author hugan
 * @date 2020/3/15
 */
public interface Matchers {

    interface Matcher1<P> {
        boolean isMatch(P param);

        Matcher1 Match1All = param -> true;
    }

    interface Matcher2<P, P2> {
        boolean isMatch(P param, P2 param2);

        Matcher2 Match2All = (param, param2) -> true;
    }

}
